'''
从一到十所有偶数的平方
'''
# 列表推导式
alist = [i for i in range(1, 11) if i % 2 == 0]
print(alist)

# 字典推导式
dic_value = {}
dic_key = {}
for i in dic_key:
    dic_value[i] = 0
dic_value = {i:0 for i in dic_key}
print(dic_value)
